package net.fdukedom.epicurus.messaging;

import net.fdukedom.epicurus.tools.logging.Logger;
import net.fdukedom.epicurus.tools.logging.WriterId;

/**
 * Default message reciever. Does nothing.
 *
 * @author Dmitry Y. Kochelaev
 */
public class DefaultMessageRecipient implements MessageRecipient {

    private Logger logger = Logger.getInstance(WriterId.MESSAGING);

    /**
     * Does nothing.
     *
     * @param message message from core or another plug-in.
     */
    public void recieve(Message message) {
        logger.logDebug("Default recipient was used. Message: " + message);
    }
}
